import request from '@/utils/request'

// 查询技师求救列表
export function listTechnicianSos(query) {
  return request({
    url: '/technicianSos/technicianSos/list',
    method: 'get',
    params: query
  })
}

// 查询技师求救详细
export function getTechnicianSos(id) {
  return request({
    url: '/technicianSos/technicianSos/' + id,
    method: 'get'
  })
}

// 新增技师求救
export function addTechnicianSos(data) {
  return request({
    url: '/technicianSos/technicianSos',
    method: 'post',
    data: data
  })
}

// 修改技师求救
export function updateTechnicianSos(data) {
  return request({
    url: '/technicianSos/technicianSos',
    method: 'put',
    data: data
  })
}

// 删除技师求救
export function delTechnicianSos(id) {
  return request({
    url: '/technicianSos/technicianSos/' + id,
    method: 'delete'
  })
}
